package com.lottery.ruok.lottrey.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.lottery.ruok.lottrey.R;

public class ChatMainFragment extends BaseMainFragment {
    private boolean isPrepared;
    private boolean mHasLoadedOnce;

    @Override
    protected void lazyLoad() {
        if (!isPrepared || !isVisible || mHasLoadedOnce) {
            return;
        }

        init();

        mHasLoadedOnce = true;
    }

    private void init(){

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.order_fragment, null);

        isPrepared = true;
        lazyLoad();

        return view;
    }
}
